<?php
define('DB_HOST', 'localhost');
define('DB_USER', 'wms1_atacq_com');
define('DB_PASS', 'Z9tP2pmtA6wfWReQ');
define('DB_NAME', 'wms1_atacq_com');

function dbConnect()
{
    $conn = new mysqli(DB_HOST, DB_USER, DB_PASS, DB_NAME);
    if ($conn->connect_error) {
        die("数据库连接失败: " . $conn->connect_error);
    }
    $conn->set_charset("utf8mb4");
    return $conn;
}
